package cn.csc.module.product.controller.admin.sku.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * sku信息 Excel VO
 *
 * @author liuchuang
 */
@Data
public class SkuExcelV2VO {

    @ExcelProperty("sku信息Id")
    private BigInteger id;

    @ExcelProperty("SPU id")
    private BigInteger spuId;

    @ExcelProperty("sku名称")
    private String skuName;

    @ExcelProperty("多个销售属性值id逗号分隔")
    private String attrs;

    @ExcelProperty("sku图片")
    private String imgUrl;

    @ExcelProperty("售价，整数方式保存")
    private BigDecimal priceFee;

    @ExcelProperty("市场价，整数方式保存")
    private BigDecimal marketPriceFee;

    @ExcelProperty("商品编码")
    private String partyCode;

    @ExcelProperty("商品条形码")
    private String modelId;

    @ExcelProperty("商品重量")
    private BigDecimal weight;

    @ExcelProperty("商品体积")
    private BigDecimal volume;

    @ExcelProperty("状态 1:enable, 0:disable, -1:deleted")
    private Integer status;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
